import tornado
from TextSearch.web.webapp import make_app

app = make_app()
app.listen(8888)
print("WebSocket服务器启动，监听端口：8888")
tornado.ioloop.IOLoop.current().start()
